package weixin

import (
	"ginfast/api/weixin/controller"
	"ginfast/api/weixin/model"

	"github.com/gin-gonic/gin"
)

// Routers 路由初始化
func Routers(r *gin.RouterGroup) {
	controller.Config{}.Routers(r.Group("/config"))
	controller.User{}.Routers(r.Group("/user"))
	controller.Material{}.Routers(r.Group("/material"))
	controller.Msg{}.Routers(r.Group("/msg"))
}

func Models() []interface{} {
	return []interface{}{
		&model.Config{},
	}
}
